/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_goods_receipt_company.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tb_goods_receipt_company.entity.TbGoodsReceiptCompany;
import com.thinkgem.jeesite.modules.tb_goods_receipt_company.dao.TbGoodsReceiptCompanyDao;

/**
 * 收货公司管理Service
 * @author ZhangYangZe
 * @version 2017-05-14
 */
@Service
@Transactional(readOnly = true)
public class TbGoodsReceiptCompanyService extends CrudService<TbGoodsReceiptCompanyDao, TbGoodsReceiptCompany> {
	/**
	 * 获取单条数据
	 * @param String
	 * @return TbGoodsConsignmentCompany
	 */
	public TbGoodsReceiptCompany get(String id) {
		return super.get(id);
	}
	/**
	 * 查询列表数据
	 * @param TbGoodsReceiptCompany
	 * @return List<TbGoodsReceiptCompany>
	 */
	public List<TbGoodsReceiptCompany> findList(TbGoodsReceiptCompany tbGoodsReceiptCompany) {
		return super.findList(tbGoodsReceiptCompany);
	}
	/**
	 * 获取查询分页数据
	 * @param TbGoodsReceiptCompany
	 * @param Page<TbGoodsReceiptCompany>
	 * @return String
	 */
	public Page<TbGoodsReceiptCompany> findPage(Page<TbGoodsReceiptCompany> page, TbGoodsReceiptCompany tbGoodsReceiptCompany) {
		return super.findPage(page, tbGoodsReceiptCompany);
	}
	/**
	 * 保存数据（插入或更新）
	 * @param TbGoodsReceiptCompany
	 */
	@Transactional(readOnly = false)
	public void save(TbGoodsReceiptCompany tbGoodsReceiptCompany) {
		super.save(tbGoodsReceiptCompany);
	}
	/**
	 * 删除数据
	 * @param TbGoodsReceiptCompany
	 */
	@Transactional(readOnly = false)
	public void delete(TbGoodsReceiptCompany tbGoodsReceiptCompany) {
		super.delete(tbGoodsReceiptCompany);
	}
	
}